package com.itheima.demo1;

import java.util.Scanner;

public class exercise13 {
    public static void main(String[] args) {
        //周减肥小练习
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入今天的星期数");
        int time = sc.nextInt();

        switch (time){
            case 1:
                System.out.println("周一，跑步");
                break;
            case 2:
                System.out.println("周二，游泳");
                break;
            case 3:
                System.out.println("周三，慢走");
                break;
            case 4:
                System.out.println("周四，动感单车");
                break;
            case 5:
                System.out.println("周五，拳击");
                break;
            case 6:
                System.out.println("周六，爬山");
                break;
            case 7:
                System.out.println("周日，大吃一顿");
                break;
            default:
                System.out.println("请输入正确的星期数");
                break;
        }
    }
}
